package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcComments;
import com.csun.cmny.provider.model.dto.ServiceCommentDto;
import com.csun.cmny.provider.model.dto.comments.CommentsQueryDto;
import com.csun.cmny.provider.model.dto.comments.CommentsSaveDto;
import com.csun.cmny.provider.model.vo.comments.CommentsVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OmcCommentsService extends IService<OmcComments> {
    List<CommentsVo> selectComments(CommentsQueryDto commentsQueryDto);

    PageInfo listComments(ServiceCommentDto serviceCommentDto);


    int addComments(CommentsSaveDto commentsSaveDto, LoginAuthDto loginAuthDto);
}
